﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Globalization;

namespace Ex5.CurrencyFormats
{
    class CurrencyFormats
    {
        static void ShowAmmount(double ammount, CultureInfo culture)
        {
            string message = String.Format(culture, "Ammount: {0:C}", ammount);
            String caption = culture.EnglishName;
            Console.WriteLine("{0}\n{1}\n",caption,message);
        }

        static void Main(string[] args)
        {
            double ammount = 137.25;

            CultureInfo cultureAustria = new CultureInfo("de-AT");
            ShowAmmount(ammount, cultureAustria);

            CultureInfo cultureBulgaria = new CultureInfo("bg-BG");
            ShowAmmount(ammount, cultureBulgaria);

            CultureInfo cultureIsrael = new CultureInfo("he-IL");
            ShowAmmount(ammount, cultureIsrael);

            CultureInfo cultureMongolia = new CultureInfo("mn-MN");
            ShowAmmount(ammount, cultureMongolia);

            CultureInfo cultureTaiwan = new CultureInfo("zh-TW");
            ShowAmmount(ammount, cultureTaiwan);

            CultureInfo cultureJapan = new CultureInfo("ja-JP");
            ShowAmmount(ammount, cultureJapan);
        }
    }
}
